<# # It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Endpoint Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description: Script is designed To Enable File And Printer Sharing (Private profile) # Configuration Type - COMPUTER # Refer: https://www.thewindowsclub.com/turn-on-or-off-file-and-printer-sharing?expand_article=1 # Note: If the registry changes but is not reflected, the customer should check with Windows support for assistance. #> Set-NetFirewallRule -DisplayGroup "File And Printer Sharing" -Enabled True -Profile Private